#include "mainwindow.h"
#include "ui_mainwindow.h"
#include"gamer.h"

MainWindow::MainWindow(QWidget *parent)
	: QMainWindow(parent)
	, ui(new Ui::MainWindow)
{
	ui->setupUi(this);
	setFixedSize(750,750);
	setWindowTitle("五子棋游戏");
}

MainWindow::~MainWindow()
{
	delete ui;
}


void MainWindow::on_pushButton_2_clicked()
{
  this->close();
}

//流程控制功能
void MainWindow::on_pushButton_clicked()
{
  this->close();
  Gamer *GM=new Gamer();
  GM->show();
}
